package ru.paswd.marketprice.rest.receipt.getter.http.local;

import org.mapstruct.Mapper;
import ru.paswd.marketprice.rest.receipt.getter.api.dto.Receipt;

@Mapper(componentModel = "spring")
public interface ReceiptMapper {
    Receipt mapReceiptFromStorage(
            ru.paswd.marketprice.storage.receipt.api.dto.Receipt receipt);

    ru.paswd.marketprice.storage.receipt.api.dto.Receipt mapReceiptToStorage(
            Receipt receipt);
}
